aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/[username]/(profile)/+layout.server.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-03 11:46:21 -0800
committerAdam Soltys <[email protected]>2026-02-11 15:33:27 -0800
commite7b8ed8d81d161e6ea5a086d870f83b366732455 (patch)
tree5aef20bec377bd89f81ea240f7f290734d32e70f /src/routes/(app)/[username]/(profile)/+layout.server.ts
parent4bc319a709d27bcdb805294e019d53e25f6e00c5 (diff)
downloadcoinos-ui-e7b8ed8d81d161e6ea5a086d870f83b366732455.tar.gz
coinos-ui-e7b8ed8d81d161e6ea5a086d870f83b366732455.zip
remove follows
Diffstat (limited to 'src/routes/(app)/[username]/(profile)/+layout.server.ts')
-rw-r--r--src/routes/(app)/[username]/(profile)/+layout.server.ts14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.server.ts b/src/routes/(app)/[username]/(profile)/+layout.server.ts
index e2ab51b1..251388e5 100644
--- a/src/routes/(app)/[username]/(profile)/+layout.server.ts
+++ b/src/routes/(app)/[username]/(profile)/+layout.server.ts
@@ -1,5 +1,4 @@
import getRates from "$lib/rates";
-import { get } from "$lib/utils";
export async function load({ depends, parent }) {
depends("app:user");
@@ -7,16 +6,5 @@ export async function load({ depends, parent }) {
const rates = await getRates();
const { subject, user } = await parent();
- // const { follows, followers } = await get(`/${subject.pubkey}/count`);
- // let followList = new Promise((r) => r([]));
- // if (user)
- // followList = get(`/${user.pubkey}/follows?pubkeysOnly=true`).catch(
- // () => [],
- // );
-
- const followList = new Promise((r) => r([]));
- const follows = [];
- const followers = [];
-
- return { follows, followers, followList, rate: rates[subject.currency] };
+ return { rate: rates[subject.currency] };
}